Skip to main content

FormatNumberAsString

Type​

statement

Summary​

Formats a numeric value as a string

Syntax​

format <Operand> as string

Description​

Use FormatNumberAsString when you want to manipulate a numeric value as text.

Parameters​

NameTypeDescription

Operand

An expression that evaluates to a number.

Examples​

variable tNum as Number
variable tString as String
put 5 into tNum
format tNum as string into tString
-- tString contains "5"

Value​

NameTypeDescription

the result

Operand formatted as a string.

Thank you for your feedback!

Was this page helpful?